//
//  NSString+BloodSugar.h
//  FMDataBaseDemo
//
//  Created by liliang on 14-5-20.
//  Copyright (c) 2014年 liliang. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (BloodSugar)

+ (NSString *)stringFromDate:(NSDate *)date;
+ (NSString *)shortStringFromDate:(NSDate *)date;
+ (NSString *)dateStampString:(NSString *)fileExtension;

@end


@interface NSDate (BloodSugar)

+ (NSDate *)dateFromString:(NSString *)dateStr;
+ (NSDate *)dateFromShortString:(NSString *)dateStr;
+ (NSDate *)dateFromString:(NSString *)string withFormat:(NSString *)format;

@end